const { titleModel } = require("../models/titleModel");

async function getAllType (req, res, next){
    let type = await titleModel.find({});
    res.send(type);
}
module.exports = {getAllType}